NameVirtualHost *:80 And delete everything after that line. Now let's configure your two virtual hosts. Add the following to the file below the “NameVirtualHost *:80” line: ServerAdmin inst@localhost DocumentRoot "/usr/local/www/share/default" ServerName 196.200.218.112 ErrorLog "/var/log/httpd-error_log" CustomLog "/var/log/httpd-access_log" common ServerAdmin inst@localhost DocumentRoot "/usr/local/www/share/mtg" ServerName pc12.sae.mtg.afnog.org ErrorLog "/var/log/mtg-error_log" CustomLog "/var/log/mtg-access_log" common ServerAdmin inst@localhost DocumentRoot "/usr/local/www/share/ws" ServerName pc12.sae.ws.afnog.org ErrorLog "/var/log/ws-error_log" CustomLog "/var/log/ws-access_log" common